/**
 * Created by hulj on 2017/5/20.
 */
/*获取推荐人*/
$(function(){
    var userId ='6224c881e2ec422691f7e631e8f5de17';
    $.ajax({
        type: "get",
        url: config.devUrl + "/user/getFiveRefferList.json",
        data: {'userId':userId},
        dataType: "json",
        success: function (data) {
            console.log(data);
            var html = template('referrer-temp',data.data);
            $("#referrer").html(html);
        }
    });
});